package cn.edu.nju.oraldefense.service;

import java.util.List;

import cn.edu.nju.oraldefense.model.Graduate;
import cn.edu.nju.oraldefense.model.Teacher;

public interface GraduateService {

	public int getCount();

	public int getCountByTeacher(Teacher teacher);

	public List getAll();

	public Graduate getById(int id);

	public Graduate getByNumber(String number);

	public List getByPage(int start, int limit);

	public List getByTeacherAndPage(Teacher teacher, int start, int limit);

	public void addGraduate(Graduate g);

	public void removeGraduate(Graduate g);

	public void modifyGraduate(Graduate g);

	public boolean assignTutor();

}
